package com.UnionPayCenter.config;

import com.UnionPayCenter.redis.IRedisService;
import com.UnionPayCenter.wechat.ComponentUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;

@Configuration
public class ComponentConfig {

    @Autowired
    public void setComponentUtil(IRedisService redisService) {
        ComponentUtil.redisService = redisService;
    }
}
